package Lobby;

import java.net.Socket;
import java.util.Date;

public class session {
	private Socket Socket;
	private Player Player;
	private Long LastConnection;
	
	
	public session(java.net.Socket socket, Lobby.Player player,
			Long lastConnection) {
		Socket = socket;
		Player = player;
		LastConnection = lastConnection;
	}
	
	public session(java.net.Socket socket) {
		super();
		Socket = socket;
	}

	public Socket getSocket() {
		return Socket;
	}

	public void setSocket(Socket socket) {
		Socket = socket;
	}

	public Player getPlayer() {
		return Player;
	}

	public void setPlayer(Player player) {
		Player = player;
	}

	public Long getLastConnection() {
		return LastConnection;
	}

	public void setLastConnection(Long lastConnection) {
		Date Date = new Date();
		this.LastConnection = Date.getTime();
	}

	
}
